Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Quaternion Transforms

Labels

ASCII
Quaternion
Binary
qtrn ( = 0x7174726E )

Data Format

Float32             w
Float32             x
Float32             y
Float32             z
w
The w component of the quaternion transform.
x
The x component of the quaternion transform.
y
The y component of the quaternion transform.
z
The z component of the quaternion transform.

Data Size

16

Description

A quaternion transform rotates and twists an object in a manner determined by the mathematical properties of quaternions.

Parent Hierarchy

Shared, shape, transform.

Parent Objects

None.

Child Objects

None.

Example

Quaternion ( 0.2 0.7 0.2 1.57 )

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |